<!doctype html>



  


<html class="theme-next pisces use-motion" lang="zh-Hans">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>



<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />















  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />




  
  
  
  

  
    
    
  

  

  

  

  

  
    
    
    <link href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
  






<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.1.0" rel="stylesheet" type="text/css" />


  <meta name="keywords" content="Android," />





  <link rel="alternate" href="/atom.xml" title="结网之路" type="application/atom+xml" />




  <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?v=5.1.0" />






<meta name="description" content="在刚开始开发 Android 的时候，很多人只会使用 Log 调试以及简单的断点调试。但是为了更快速地调试，还是需要掌握一些高级一点的调试技巧，以提升自己的效率，下面是我找到和使用的一些技巧

1. 条件断点条件断点(Conditional Breakpoints)指的是调试中为断点设置条件，当满足设置条件时程序就会停下。条件断点在循环中极为好用，比如有100次的循环，而你就想看第53次的程序运">
<meta property="og:type" content="article">
<meta property="og:title" content="Android 常用高级调试技巧">
<meta property="og:url" content="https://kniost.github.io/2016-12-24-cj0ajvoue000a1js6rvhaxbq6/index.html">
<meta property="og:site_name" content="结网之路">
<meta property="og:description" content="在刚开始开发 Android 的时候，很多人只会使用 Log 调试以及简单的断点调试。但是为了更快速地调试，还是需要掌握一些高级一点的调试技巧，以提升自己的效率，下面是我找到和使用的一些技巧

1. 条件断点条件断点(Conditional Breakpoints)指的是调试中为断点设置条件，当满足设置条件时程序就会停下。条件断点在循环中极为好用，比如有100次的循环，而你就想看第53次的程序运">
<meta property="og:image" content="https://kniost.github.io/2016-12-24-cj0ajvoue000a1js6rvhaxbq6/conditionalBreakPoint.png">
<meta property="og:image" content="https://kniost.github.io/2016-12-24-cj0ajvoue000a1js6rvhaxbq6/conditionalBreakPoint-2.png">
<meta property="og:image" content="https://kniost.github.io/2016-12-24-cj0ajvoue000a1js6rvhaxbq6/log_without_Log.png">
<meta property="og:image" content="https://kniost.github.io/2016-12-24-cj0ajvoue000a1js6rvhaxbq6/logResult.png">
<meta property="og:image" content="https://kniost.github.io/2016-12-24-cj0ajvoue000a1js6rvhaxbq6/attachDebuggerToProcess.png">
<meta property="og:image" content="https://kniost.github.io/2016-12-24-cj0ajvoue000a1js6rvhaxbq6/evaluateExpression1.png">
<meta property="og:image" content="https://kniost.github.io/2016-12-24-cj0ajvoue000a1js6rvhaxbq6/evaluateExpression2.png">
<meta property="og:image" content="https://kniost.github.io/2016-12-24-cj0ajvoue000a1js6rvhaxbq6/evaluateExpression3.png">
<meta property="og:updated_time" content="2017-03-14T07:44:47.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Android 常用高级调试技巧">
<meta name="twitter:description" content="在刚开始开发 Android 的时候，很多人只会使用 Log 调试以及简单的断点调试。但是为了更快速地调试，还是需要掌握一些高级一点的调试技巧，以提升自己的效率，下面是我找到和使用的一些技巧

1. 条件断点条件断点(Conditional Breakpoints)指的是调试中为断点设置条件，当满足设置条件时程序就会停下。条件断点在循环中极为好用，比如有100次的循环，而你就想看第53次的程序运">
<meta name="twitter:image" content="https://kniost.github.io/2016-12-24-cj0ajvoue000a1js6rvhaxbq6/conditionalBreakPoint.png">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Pisces',
    sidebar: {"position":"right","display":"post","offset":12,"offset_float":0,"b2t":false,"scrollpercent":false},
    fancybox: true,
    motion: true,
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="https://kniost.github.io/2016-12-24-cj0ajvoue000a1js6rvhaxbq6/"/>





  <title> Android 常用高级调试技巧 | 结网之路 </title>
</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  














  
  
    
  

  <div class="container one-collumn sidebar-position-right page-post-detail ">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/"  class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">结网之路</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle">临渊羡鱼，不如退而结网</p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/categories" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br />
            
            分类
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            归档
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/tags" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            标签
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="/about" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br />
            
            关于
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
    <link itemprop="mainEntityOfPage" href="https://kniost.github.io/2016-12-24-cj0ajvoue000a1js6rvhaxbq6/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="kniost">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.jpg">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="结网之路">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                Android 常用高级调试技巧
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2016-12-24T15:52:00+08:00">
                2016-12-24
              </time>
            

            

            
          </span>

          
            <span class="post-category" >
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/Android开发技巧/" itemprop="url" rel="index">
                    <span itemprop="name">Android开发技巧</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
              <span class="post-comments-count">
                <span class="post-meta-divider">|</span>
                <span class="post-meta-item-icon">
                  <i class="fa fa-comment-o"></i>
                </span>
                <a href="/2016-12-24-cj0ajvoue000a1js6rvhaxbq6/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count disqus-comment-count" data-disqus-identifier="2016-12-24-cj0ajvoue000a1js6rvhaxbq6/" itemprop="commentCount"></span>
                </a>
              </span>
            
          

          
          

          

          

          

        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        <blockquote>
<p>在刚开始开发 Android 的时候，很多人只会使用 Log 调试以及简单的断点调试。但是为了更快速地调试，还是需要掌握一些高级一点的调试技巧，以提升自己的效率，下面是我找到和使用的一些技巧</p>
</blockquote>
<h1 id="1-条件断点"><a href="#1-条件断点" class="headerlink" title="1. 条件断点"></a>1. 条件断点</h1><p>条件断点(Conditional Breakpoints)指的是调试中为断点设置条件，当满足设置条件时程序就会停下。条件断点在循环中极为好用，比如有100次的循环，而你就想看第53次的程序运行过程，总不能一次一次运行看，这个时候就需要条件断点了。</p>
<h2 id="用法："><a href="#用法：" class="headerlink" title="用法："></a>用法：</h2><p>在设置的断点上点击右键，就会弹出断点的简单设置对话框，在 <code>Condition</code> 框里面填写上你所需要中断的条件即可，此后调试程序时，程序就会在满足设置的条件时才会停下。</p>
<h2 id="示例："><a href="#示例：" class="headerlink" title="示例："></a>示例：</h2><p>首先设置断点，在断点上右键，填写条件</p>
<img src="/2016-12-24-cj0ajvoue000a1js6rvhaxbq6/conditionalBreakPoint.png" alt="条件断点" title="条件断点">
<p>执行 debug，会自动在满足条件处中断</p>
<img src="/2016-12-24-cj0ajvoue000a1js6rvhaxbq6/conditionalBreakPoint-2.png" alt="条件断点" title="条件断点">
<h1 id="2-日志断点"><a href="#2-日志断点" class="headerlink" title="2. 日志断点"></a>2. 日志断点</h1><p>顾名思义，日志断点(Logging Breakpoints)就是在断点处输出日志，从而避免了在代码中写 Log，然后再重新运行程序。</p>
<h2 id="用法：-1"><a href="#用法：-1" class="headerlink" title="用法："></a>用法：</h2><p>在设置的断点上右键，将 Suspend 置为非选中状态，然后会出现一些详细设置，在下面的 <code>Log evaluated Expression</code> 填写上你需要输出的信息。其实相当于调试程序在这里帮你打出了 Log，但是根据实际效果推测，由于还是一个断点，系统是先暂停，再打印 Log，最后再恢复，所以速度上会更慢一些。</p>
<h2 id="示例：-1"><a href="#示例：-1" class="headerlink" title="示例："></a>示例：</h2><p>首先设置断点，在断点上右键，反选 Suspend，填上需要 log 的信息。<br><img src="/2016-12-24-cj0ajvoue000a1js6rvhaxbq6/log_without_Log.png" alt="日志断点" title="日志断点"></p>
<p>执行 Debug 以后，会出现结果：</p>
<img src="/2016-12-24-cj0ajvoue000a1js6rvhaxbq6/logResult.png" alt="日志断点结果" title="日志断点结果">
<blockquote>
<p>可以看到，sum 的值还没有发生变化时就已经 log 了，也就是说，在执行断点这行程序之前就已经进入断点了。在这个例子中，如果想看 sum 变化之后的值，就需要在 sum += i; 这行代码之后加断点。</p>
</blockquote>
<h1 id="3-临时断点"><a href="#3-临时断点" class="headerlink" title="3. 临时断点"></a>3. 临时断点</h1><p>临时断点(Temporary Breakpoints)只会在第一次运行到这个断点的时候停下，然后就会被自动移除了，在对不需要重复调试的地方比较有效。（其实我觉得可以叫一次断点）</p>
<h2 id="用法：-2"><a href="#用法：-2" class="headerlink" title="用法："></a>用法：</h2><p>Windows/ Linux : 按住 Alt 点击代码左侧断点位置<br>macOS : 按住 Option 点击代码左侧断点位置</p>
<blockquote>
<p><strong>如果在有断点的情况下再使用上述方法点击断点，将会使断点在有效和失效状态下切换。</strong></p>
</blockquote>
<h1 id="4-附着进程调试"><a href="#4-附着进程调试" class="headerlink" title="4. 附着进程调试"></a>4. 附着进程调试</h1><p>附着进程调试(Attach debugger to Android process)，在了解这个选项之前，总是喜欢点击调试，让 Gradle 重新编译，虽然有 Instant Run 的速度加持，但依然比较缓慢。<br>在这个模式下，你不需要重新编译，只要这个 App 是打开的，就可以直接点击该按钮，就可以快速进入调试，对于测试来说非常方便。</p>
<h2 id="用法：-3"><a href="#用法：-3" class="headerlink" title="用法："></a>用法：</h2><ol>
<li><p>点击菜单栏中的 Run -&gt;Attach Debugger to Android Process ，然后选择 App 所在的进程</p>
</li>
<li><p>或者点击下列按钮</p>
</li>
</ol>
<img src="/2016-12-24-cj0ajvoue000a1js6rvhaxbq6/attachDebuggerToProcess.png" alt="附着进程调试" title="附着进程调试">
<h1 id="5-观察变量"><a href="#5-观察变量" class="headerlink" title="5. 观察变量"></a>5. 观察变量</h1><p>在断点处停下时，将鼠标悬停在变量上或者按住 Option(Alt) 键点击变量时即可显示该变量的值</p>
<h1 id="6-计算表达式"><a href="#6-计算表达式" class="headerlink" title="6. 计算表达式"></a>6. 计算表达式</h1><p><strong>计算表达式</strong>(Evaluate Expression)，用来在调试过程中查看变量的值，或者计算任何复杂的自定义表达式。</p>
<p>但它最好的一点不仅是可以查看变量的值且进行运算，还能<strong>执行赋值语句</strong>！也就是说，它能在运行中实时修改变量，方便测试各种功能。</p>
<h2 id="用法：-4"><a href="#用法：-4" class="headerlink" title="用法："></a>用法：</h2><p>在断点中断后，按 Option(Alt) + F8，或者在 Run 菜单中找到 Evaluate Expression，然后输入想做的操作</p>
<h2 id="示例：-2"><a href="#示例：-2" class="headerlink" title="示例："></a>示例：</h2><p>首先在断点处停下，我设置的条件是 i == 6，此时 sum 的值为15</p>
<img src="/2016-12-24-cj0ajvoue000a1js6rvhaxbq6/evaluateExpression1.png" alt="计算表达式" title="计算表达式">
<p>进入 Evaluate Expression，直接输入 sum 回车，能看到 sum 的值，也可以直接对 sum 进行修改，比如 sum +=20，结果是35</p>
<img src="/2016-12-24-cj0ajvoue000a1js6rvhaxbq6/evaluateExpression2.png" alt="计算表达式2" title="计算表达式2">
<p>回到程序界面，发现 sum 的值已经改变了</p>
<img src="/2016-12-24-cj0ajvoue000a1js6rvhaxbq6/evaluateExpression3.png" alt="计算表达式3" title="计算表达式3">
<p>这非常适合对于在后台服务器获取数据时调试一些需要后台修改的数据，省时省力</p>

      
    </div>

    <div>
      
        

      
    </div>

    <div>
      
        

      
    </div>

    <div>
      
        

      
    </div>

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/tags/Android/" rel="tag"># Android</a>
          
        </div>
      

      
        
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2016-11-24-cj0ajvout000n1js69l6ox3jb/" rel="next" title="Android编程权威指南（第二版）学习笔记（十三）—— 第13章 工具栏（Toolbar）">
                <i class="fa fa-chevron-left"></i> Android编程权威指南（第二版）学习笔记（十三）—— 第13章 工具栏（Toolbar）
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2017-01-09-cj0ajvouy000y1js6vgfqoi6s/" rel="prev" title="Android编程权威指南（第二版）学习笔记（十四）—— 第14章 SQLite 数据库">
                Android编程权威指南（第二版）学习笔记（十四）—— 第14章 SQLite 数据库 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </article>



    <div class="post-spread">
      
    </div>
  </div>

          
          </div>
          


          
  <div class="comments" id="comments">
    
      <div id="disqus_thread"></div>
<script>

/**
*  RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
*  LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
/*
var disqus_config = function () {
this.page.url = PAGE_URL;  // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
*/
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://kniost-comment-github.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
                                
    
  </div>


        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap" >
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
          <img class="site-author-image" itemprop="image"
               src="/images/avatar.jpg"
               alt="kniost" />
          <p class="site-author-name" itemprop="name">kniost</p>
           
              <p class="site-description motion-element" itemprop="description">kniost 的成长与疑惑</p>
          
        </div>
        <nav class="site-state motion-element">

          
            <div class="site-state-item site-state-posts">
              <a href="/archives">
                <span class="site-state-item-count">31</span>
                <span class="site-state-item-name">日志</span>
              </a>
            </div>
          

          
            
            
            <div class="site-state-item site-state-categories">
              <a href="/categories/index.html">
                <span class="site-state-item-count">3</span>
                <span class="site-state-item-name">分类</span>
              </a>
            </div>
          

          
            
            
            <div class="site-state-item site-state-tags">
              <a href="/tags/index.html">
                <span class="site-state-item-count">3</span>
                <span class="site-state-item-name">标签</span>
              </a>
            </div>
          

        </nav>

        
          <div class="feed-link motion-element">
            <a href="/atom.xml" rel="alternate">
              <i class="fa fa-rss"></i>
              RSS
            </a>
          </div>
        

        <div class="links-of-author motion-element">
          
        </div>

        
        

        
        

        


      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#1-条件断点"><span class="nav-text">1. 条件断点</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#用法："><span class="nav-text">用法：</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#示例："><span class="nav-text">示例：</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#2-日志断点"><span class="nav-text">2. 日志断点</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#用法：-1"><span class="nav-text">用法：</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#示例：-1"><span class="nav-text">示例：</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#3-临时断点"><span class="nav-text">3. 临时断点</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#用法：-2"><span class="nav-text">用法：</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#4-附着进程调试"><span class="nav-text">4. 附着进程调试</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#用法：-3"><span class="nav-text">用法：</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#5-观察变量"><span class="nav-text">5. 观察变量</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#6-计算表达式"><span class="nav-text">6. 计算表达式</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#用法：-4"><span class="nav-text">用法：</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#示例：-2"><span class="nav-text">示例：</span></a></li></ol></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright" >
  
  &copy; 
  <span itemprop="copyrightYear">2017</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">kniost</span>
</div>


<div class="powered-by">
  由 <a class="theme-link" href="https://hexo.io">Hexo</a> 强力驱动
</div>

<div class="theme-info">
  主题 -
  <a class="theme-link" href="https://github.com/iissnan/hexo-theme-next">
    NexT.Pisces
  </a>
</div>


        

        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    
    
  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  




  
  <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>

  
  <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>

  
  <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>

  
  <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.0"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.0"></script>



  
  


  <script type="text/javascript" src="/js/src/affix.js?v=5.1.0"></script>

  <script type="text/javascript" src="/js/src/schemes/pisces.js?v=5.1.0"></script>



  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.0"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.0"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.0"></script>



  



  

    <script type="text/javascript">
      var disqus_shortname = 'kniost-comment-github';
      var disqus_identifier = '2016-12-24-cj0ajvoue000a1js6rvhaxbq6/';

      var disqus_title = "Android 常用高级调试技巧";


      function run_disqus_script(disqus_script) {
        var dsq = document.createElement('script');
        dsq.type = 'text/javascript';
        dsq.async = true;
        dsq.src = '//' + disqus_shortname + '.disqus.com/' + disqus_script;
        (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
      }

      run_disqus_script('count.js');

      
        var disqus_config = function () {
            this.page.url = disqus_url;
            this.page.identifier = disqus_identifier;
            this.page.title = disqus_title;
        };
        run_disqus_script('embed.js');
      

    </script>
  










  
  

  

  

  

  


  

</body>
</html>
